{foreach name="admin_rule" item="v"}
	<tr id="{$pid}-{$v.id}">
		<td>{$v.id}</td>
		<td><a data-id="{$v.id}" data-level="{$v.level}" href="{:url('menu/appmenu_list')}" style="cursor:pointer;" class="rule-list">
			{if condition="$v['son'] gt 0"} <i class="Hui-iconfont fa-plus">&#xe600;</i> {/if}
			</a>
		</td>
		<td class="hidden-xs" style='padding-left:{if condition="$v.leftpin neq 0"}{$v.leftpin}px{/if}'>
			{$v.lefthtml}{$v.name}
		</td>
		<td>
			{if condition="$v['status'] eq 1"}显示
			{else/}隐藏
			{/if}
		</td>
		<td>{$v.level}级</td>
		<td>{$v.add_time|date='Y-m-d H:i:s',###}</td>
		<td><input name="{$v.id}" value="{$v.sort}" style="width: 50px;"/></td>
		<td class="td-manage">
			<a title="编辑" href="javascript:;" onclick="appmenu_edit('编辑','{:url(\'menu/appmenu_edit\',[\'id\'=>$v.id])}','800','500')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6df;</i></a>
			<a title="删除" href="javascript:;" onclick="appmenu_del(this,'{$v.id}')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
	</tr>
{/foreach}